<!-- basic layout - feel free to replace with a more elaborate one -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>RailsCart</title>
    <%= stylesheet_link_tag 'application' %>
    <%= javascript_include_tag :defaults %>
  </head>
  <body>
    <div id="main">
    <% if flash[:notice] %>
      <div id="flash-notice"><%= flash[:notice] %></div>
    <% end %>
    <% if flash[:error] %>
      <div id="flash-errors"><%= flash[:error] %></div>
    <% end %>
        <%=@content_for_layout %>
    </div>
  </body>
</html>